package com.base.pig.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.base.pig.dto.AlarmOnTimeDto;
import com.base.pig.entity.PskInfo;
import com.base.pig.vo.DeviceListVo;
import org.apache.ibatis.annotations.MapKey;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.math.BigDecimal;
import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author yjh
 * @since 2022-10-26
 */
@Mapper
public interface PskInfoMapper extends BaseMapper<PskInfo> {
    @MapKey("id")
    List<DeviceListVo> deviceList(@Param("deviceTableName") String deviceTableName, @Param("num") int num);
    @MapKey("id")
    List<DeviceListVo> devicePsList(@Param("deviceTableName") String deviceTableName, @Param("num") int num);
}
